<%-- 
    Document   : AcceuilEnseignant
    Created on : 27 nov. 2013, 11:37:57
    Author     : zouafr
--%>

<%@page import="java.util.Iterator"%>
<%@page import="Objet.Module"%>
<%@page import="Objet.Enseignant"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Portail des Enseignants</title>
    </head>
    <body>
    <jsp:useBean id="co" scope="request" class="Objet.QueryBD"/>
    <jsp:useBean id="monAuth" scope="request" class="Form.FirstActionForm"/>
        <h1>Bienvenue sur le Portail Enseignant</h1>
        <%
            Enseignant monEnseigant = co.creerEnseignant
                    ((String)monAuth.getLogin(),(String)monAuth.getMdp());
        %>
        <center>
            
            
        <!--
        <h1>Mes Matières</h1>
            <table border ="1">
                <tr>
                    <th>Module</th>
                    <th>Libelle</th>
                    
                </tr>

            <%
                /*
                Iterator<Module> monIt = (monEnseigant.getListModules()).iterator();
                   while(monIt.hasNext())
                    {
                        Module ModCour = monIt.next();
                        out.println("<tr><td>" +  ModCour.getModule()
                                +"</td><td>"+  ModCour.getLibellé());
                    }
                */
            %>
            </table>
        -->
 
                 
        <form method="POST" action="EnseignantA.do">
            <table>

                <tr>
                    <input type="submit" name="action" value="Relever Absence">
                </tr>
                <tr>
                    <input type="submit" name="action" value="Consulter Absence">
                </tr>

            </table>
        </form>
        </center>
    </body>
</html>

